import 'package:flutter/material.dart';

class GlobalProvider extends ChangeNotifier {

  /// 底部导航栏标记
  var _currentIndex = 0;

  get getCurrentIndex => _currentIndex;

  void setCurrentIndex(int index) {
    _currentIndex = index;
    notifyListeners();
  }
}
